package com.ton.common.entity;

import com.kypj.frame.db.annotation.MyPk;
import lombok.Data;

import java.util.Date;


/**
 * 资金归集记录表 - 实体类
 */
@Data
public class CollectionRecord {
    @MyPk
    private Long id;
    private String fromAddress; //出账地址
    private String toAddress; //到账地址
    private String toMainAddressRemark; //到账主账户备注
    private Long amount; //金额
    private Integer coinType; //货币类型 1=TRX 2=TRC20
    private Integer transferStatus; //交易状态 -1=失败 0=待转账 1=转账成功
    private Long energy; //消耗能量预估
    private Integer fee;  // 预估能量消耗燃烧TRX
    private String transferRemark; //转账备注 如失败原因等
    private Date createTime; //创建时间
    private Date updateTime; //更新时间
}
